package com.hengxinguotong.hxgtwygsp.ui.newView.outsourceService;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.propertyService.elevator.ElevatorServiceFragment;

import javax.inject.Inject;

/**
 * 外包服务
 *
 * Created by CS-Yong
 * 2019/9/2  1:44
 */
public class OutsourceServiceActivity extends DialogActivity {

    @Inject
    ElevatorServiceFragment mElevatorServiceFragment;
    @Inject
    GreenProtectedFragment mGreenProtectedFragment;
    @Inject
    CleanContractFragment mCleanContractFragment;
    @Inject
    OrderDefendFragment mOrderDefendFragment;

    @Override
    public void initFragmentList() {
        dialogTitle.setText(R.string.main_outsource_service);
        mElevatorServiceFragment.setTabText(getString(R.string.main_elevator_service));
        baseTabFragmentList.add(mElevatorServiceFragment);
        mGreenProtectedFragment.setTabText("绿化养护");
        baseTabFragmentList.add(mGreenProtectedFragment);
        mCleanContractFragment.setTabText("清洁承包");
        baseTabFragmentList.add(mCleanContractFragment);
        mOrderDefendFragment.setTabText("秩序维护承包");
        baseTabFragmentList.add(mOrderDefendFragment);
    }
}
